<?php
/**
 * File from WEBO Video Transmuter, WEBO Software (http://www.webogroup.com/)
 * Runs converter to jpeg/mp4/ogg.
 *
 **/
include(dirname(__FILE__) . '/config.wvt.php');
include(dirname(__FILE__) . '/controller/converter.php');

$wvt = new webo_video_transmuter_converter($wvt_options);
$file = realpath($wvt->options['rootdir'] . $_GET['path']);
if (strpos($file, $wvt->options['rootdir']) == 0) {
	$wvt->convertVideo(str_replace($wvt->options['videodir'], "", $file), $_GET['type']);
}

?>